/**
 * 	write on 2005-10-29 23:22:45.
 */
package org.nanhill.xmlro.sro.model;


import org.nanhill.xmlro.Serializer;
import org.nanhill.xmlro.XmlroOutput;


/**
 * @author alin
 *
 */
public class ByteArraySerializer implements Serializer {

	/* (non-Javadoc)
	 * @see org.nanhill.protocol.xmlro.Serializer#writeObject(java.lang.Object, org.nanhill.protocol.xmlro.Output)
	 */
	public void writeObject(Object obj, XmlroOutput out) {
		byte[] data = (byte[]) obj;
		out.writeBytes(data);
	}

}
